//
//  MineTwoTableViewCell.m
//  Mahjong
//
//  Created by KING on 16/8/31.
//  Copyright © 2016年 swift. All rights reserved.
//

#import "MineTwoTableViewCell.h"
#import "Header.h"
@interface MineTwoTableViewCell()
@property (weak, nonatomic) IBOutlet UIButton *listButton;
@property (weak, nonatomic) IBOutlet UIButton *adressButton;
@property (weak, nonatomic) IBOutlet UIButton *collectButton;
@property (weak, nonatomic) IBOutlet UIButton *listLabel;

@property (weak, nonatomic) IBOutlet UIButton *adressLabel;
@property (weak, nonatomic) IBOutlet UIButton *collectLabel;

@end

@implementation MineTwoTableViewCell


- (IBAction)listAction:(id)sender {
    [self.myDelegate list];

}
- (IBAction)adressAction:(id)sender {
    [self.myDelegate adress];

}
- (IBAction)collectAction:(id)sender {
    [self.myDelegate collect];
}
- (void)drawRect:(CGRect)rect
{
    [super drawRect:rect];
    self.listButton.frame = CGRectMake(SCREEN_WIDTH/6-30, 10, 60, 60);
    self.adressButton.frame =CGRectMake(SCREEN_WIDTH/2-30, 10, 60, 60);
    self.collectButton.frame = CGRectMake(SCREEN_WIDTH/6*5-30, 10, 60, 60);
    self.listLabel.frame = CGRectMake(0, 75, SCREEN_WIDTH/3, 22);
    self.adressLabel.frame = CGRectMake(SCREEN_WIDTH/3, 75, SCREEN_WIDTH/3, 22);
    self.collectLabel.frame = CGRectMake(SCREEN_WIDTH/3*2, 75, SCREEN_WIDTH/3, 22);

}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
